﻿<!doctype html>
<html>
<head>
<#include "/part_meta.ftl">
<title>${store.name}-迈小众</title>
<link href="${st.resDomain}/css/style.css" rel="stylesheet" type="text/css">
<link href="${st.resDomain}/css/store.css" rel="stylesheet" type="text/css">
<link href="${st.resDomain}/css/store_focus.css" rel="stylesheet" type="text/css">
<link href="${st.resDomain}/css/autostyle.css" rel="stylesheet" type="text/css">
</head>

<body>
<!--头部-->
<header>
  <div class="boxw store">
    <div class="header">
      <span class="f_left"><a href="javascript:history.back();" class="back"></a></span>
      <span class="title">欢迎光临！${store.name}</span>
      <span class="f_right"><a class="more"></a></span>
    </div>
    <div class="more">
      <a href="${st.domain}/goodsClassify?storeId=${store.storeId}" class="icon-search">店内搜索</a>
	  <a href="#" class="icon-collect">收藏店铺</a>
	  <a href="${st.userDomain}/shoppingCart" class="icon-car">购物车</a>
	  <a href="${st.userDomain}/" class="icon-user">个人中心</a>
      <a href="${st.domain}/" class="icon-home">主页</a>
      <a href="#" class="icon-adddesktop">添加到桌面</a>
    </div>
  </div>
</header>
<!--头部 END-->

<div class="main boxw" style="padding-bottom: 3rem;">
  <div id="storeindex">
    <!--- 焦点图 --->
    <div class="swipe">
      <ul id="slider">
        <li style="display:block"><img width="326" height="235" src="${st.resDomain}/images/focus/pic1.png" alt="" /></li>
        <li><img width="326" height="235" src="${st.resDomain}/images/focus/pic2.png" alt="" /></li>
        <li><img width="326" height="235" src="${st.resDomain}/images/focus/pic3.png" alt="" /></li>
      </ul>
      <div id="pagenavi"> <a href="javascript:void(0);" class="active">1</a> <a href="javascript:void(0);">2</a> <a href="javascript:void(0);">3</a></div>
    </div>
    <!--- 焦点图 end--->
    
    <!---商品  --->
    <div class="mainbox">
      <div class="title"><a href="${st.domain}/storeGoods/list4Shop?storeId=${store.storeId}&atDiscount=1">今日推荐</a></div>
      <div class="nr">
        <ul class="goodlist f_clear">
        <#list todayList as g>
          <li><a href="${st.domain}/storeGoods/detail/${g.storeGoodsId}"><span><img src="${st.resDomain}/images/loading.gif" data="${g.pic}" /><#if g.stockConvert lte g.stockEnd><i>已售完</i></#if></span>
            <h3>${g.title}<span style="display:inline;margin-left:3px;color:red">${g.subTitle}</span></h3>
            <h4><strong>￥${g.price}</strong><#if g.atDiscount><del>${g.originalPrice}</del></#if>/${g.unit}</h4>
          </a><#if g.atDiscount><em>特价</em></#if></li>
        </#list>
        </ul>
      </div>
    </div>
    <!---商品  end--->
    <!---商品  --->
    <div class="mainbox">
      <div class="title"><a href="${st.domain}/storeGoods/list4Shop?storeId=${store.stoerId}&orderField=dealMonth">热门商品</a></div>
      <div class="nr">
        <ul class="goodlist f_clear">
        <#list hotList as g>
          <li><a href="${st.domain}/storeGoods/detail/${g.storeGoodsId}"><span><img src="${st.resDomain}/images/loading.gif" data="${g.pic}" /><#if g.stockConvert lte g.stockEnd><i>已售完</i></#if></span>
            <h3>${g.title}<span style="display:inline;margin-left:3px;color:red">${g.subTitle}</span></h3>
            <h4><strong>￥${g.price}</strong><#if g.atDiscount><del>${g.originalPrice}</del></#if>/${g.unit}</h4>
          </a><#if g.atDiscount><em>特价</em></#if></li> 
        </#list>
        </ul>
      </div>
    </div>
    <!---商品  end--->
  </div>
</div>
<!--尾部-->
<footer>
  <div class="boxw">
    <nav class="f_clear"><a href="${st.domain}/store/${store.storeId}" class="mxz"  style="background-image: url('<#if store.logo??>${st.attaDomain}${store.logo}<#else>${st.attaDomain}/def/shop_logo.jpg</#if>');"></a>
    <span class="name">${store.name}</span><span class="right">好评率：<strong>98%</strong></span></nav>
  </div>
</footer>
<!--尾部-->
<script src="${st.resDomain}/scripts/jquery-1.9.1.min.js"></script>
<script src="${st.resDomain}/scripts/touchslider.dev.js"></script>
<script src="${st.resDomain}/scripts/index.js"></script>
<script src="${st.resDomain}/scripts/com.js"></script>
</body>
</html>
